Skip to content

Conversation

@brianorwhatever
Copy link
Contributor

Implement Convex authentication with Clerk to enable user sign-in/sign-up and display auth state.


Open in Cursor Open in Web

- Install @clerk/clerk-react package
- Configure ClerkProvider in main.tsx using VITE_CLERK_PUBLISHABLE_KEY
- Set up Convex auth config in convex/auth.config.ts
- Create auth UI components (SignInButton, SignUpButton, UserButton)
- Add authentication state display in App component
- Configure ConvexProvider to pass Clerk tokens via setAuth
- Create getCurrentUser query to verify auth state
- Ensure build passes without errors

Co-authored-by: brian <brian@aviary.tech>
@cursor
Copy link

cursor bot commented Jan 14, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants